Optimal. Leaf size=76 \[ c^2 (-d) x \left (a+b \cosh ^{-1}(c x)\right )-\frac{d \left (a+b \cosh ^{-1}(c x)\right )}{x}+b c d \sqrt{c x-1} \sqrt{c x+1}+b c d \tan ^{-1}\left (\sqrt{c x-1} \sqrt{c x+1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.119375, antiderivative size = 76, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 6, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.261, Rules used = {14, 5731, 12, 460, 92, 205} \[ c^2 (-d) x \left (a+b \cosh ^{-1}(c x)\right )-\frac{d \left (a+b \cosh ^{-1}(c x)\right )}{x}+b c d \sqrt{c x-1} \sqrt{c x+1}+b c d \tan ^{-1}\left (\sqrt{c x-1} \sqrt{c x+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 5731
Rule 12
Rule 460
Rule 92
Rule 205
Rubi steps
\begin{align*} \int \frac{\left (d-c^2 d x^2\right ) \left (a+b \cosh ^{-1}(c x)\right )}{x^2} \, dx &=-\frac{d \left (a+b \cosh ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \cosh ^{-1}(c x)\right )-(b c) \int \frac{d \left (-1-c^2 x^2\right )}{x \sqrt{-1+c x} \sqrt{1+c x}} \, dx\\ &=-\frac{d \left (a+b \cosh ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \cosh ^{-1}(c x)\right )-(b c d) \int \frac{-1-c^2 x^2}{x \sqrt{-1+c x} \sqrt{1+c x}} \, dx\\ &=b c d \sqrt{-1+c x} \sqrt{1+c x}-\frac{d \left (a+b \cosh ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \cosh ^{-1}(c x)\right )+(b c d) \int \frac{1}{x \sqrt{-1+c x} \sqrt{1+c x}} \, dx\\ &=b c d \sqrt{-1+c x} \sqrt{1+c x}-\frac{d \left (a+b \cosh ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \cosh ^{-1}(c x)\right )+\left (b c^2 d\right ) \operatorname{Subst}\left (\int \frac{1}{c+c x^2} \, dx,x,\sqrt{-1+c x} \sqrt{1+c x}\right )\\ &=b c d \sqrt{-1+c x} \sqrt{1+c x}-\frac{d \left (a+b \cosh ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \cosh ^{-1}(c x)\right )+b c d \tan ^{-1}\left (\sqrt{-1+c x} \sqrt{1+c x}\right )\\ \end{align*}
Mathematica [A] time = 0.179708, size = 110, normalized size = 1.45 \[ -a c^2 d x-\frac{a d}{x}+\frac{b c d \sqrt{c^2 x^2-1} \tan ^{-1}\left (\sqrt{c^2 x^2-1}\right )}{\sqrt{c x-1} \sqrt{c x+1}}-b c^2 d x \cosh ^{-1}(c x)+b c d \sqrt{c x-1} \sqrt{c x+1}-\frac{b d \cosh ^{-1}(c x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 100, normalized size = 1.3 \begin{align*} -da{c}^{2}x-{\frac{da}{x}}-db{\rm arccosh} \left (cx\right ){c}^{2}x-{\frac{bd{\rm arccosh} \left (cx\right )}{x}}+bcd\sqrt{cx-1}\sqrt{cx+1}-{dbc\sqrt{cx-1}\sqrt{cx+1}\arctan \left ({\frac{1}{\sqrt{{c}^{2}{x}^{2}-1}}} \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}-1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.9058, size = 92, normalized size = 1.21 \begin{align*} -a c^{2} d x -{\left (c x \operatorname{arcosh}\left (c x\right ) - \sqrt{c^{2} x^{2} - 1}\right )} b c d -{\left (c \arcsin \left (\frac{1}{\sqrt{c^{2}}{\left | x \right |}}\right ) + \frac{\operatorname{arcosh}\left (c x\right )}{x}\right )} b d - \frac{a d}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.9603, size = 289, normalized size = 3.8 \begin{align*} -\frac{a c^{2} d x^{2} - 2 \, b c d x \arctan \left (-c x + \sqrt{c^{2} x^{2} - 1}\right ) - \sqrt{c^{2} x^{2} - 1} b c d x -{\left (b c^{2} + b\right )} d x \log \left (-c x + \sqrt{c^{2} x^{2} - 1}\right ) + a d +{\left (b c^{2} d x^{2} -{\left (b c^{2} + b\right )} d x + b d\right )} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right )}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - d \left (\int a c^{2}\, dx + \int - \frac{a}{x^{2}}\, dx + \int b c^{2} \operatorname{acosh}{\left (c x \right )}\, dx + \int - \frac{b \operatorname{acosh}{\left (c x \right )}}{x^{2}}\, dx\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{{\left (c^{2} d x^{2} - d\right )}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]